package com.lh.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lh.api.vo.ShopCartVo;
import com.lh.common.entity.admin.ShopCart;
import com.lh.common.utils.PageUtils;

import java.util.Map;

/**
 * @author gze
 * @ClassName:
 * @Description: (类作用)
 * @date: 2020-05-18 14:56
 */
public interface ShopCartService extends IService<ShopCart> {
    Integer addShopCart(Long userId, Long sid, Integer num);

    PageUtils<ShopCartVo> getCartlist(Map<String, Object> param, Integer pageNum, Integer pageSize);

    void delShopCart(Long userId, String sid);

    Integer cartNum(Long userId);
}
